package com.fortune.service;

import com.faneui.common.exception.BusinessException;
import com.fortune.dal.model.CreditCardInfo;

import java.util.List;

public interface CreditCardInfoService {

    void addCreditCardInfo(CreditCardInfo creditCardInfo) throws BusinessException;

    void modifyCreditCardInfo(CreditCardInfo creditCardInfo) throws BusinessException ;

    CreditCardInfo queryCreditCardInfo(Integer creditCardInfoId)throws BusinessException ;

    CreditCardInfo queryCreditCardInfoByCardId(Integer cardId)throws BusinessException ;

    List<CreditCardInfo> queryCreditCardInfoList(CreditCardInfo creditCardInfo)throws BusinessException ;

}
